/*
 * @Author: _LJP 2634716776@qq.com
 * @Date: 2024-01-28 14:51:23
 * @LastEditors: _LJP 2634716776@qq.com
 * @LastEditTime: 2024-01-29 16:08:15
 * @FilePath: /my_-linux/Pro24/Hashi/HashiTable/test.cpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include<iostream>

#include"HashiTable.hpp"

using namespace std;

void HashiTableTest1()
{
    HashiTable<int,int> hst1;
    int a[] = {1, 11, 22, 12, 33, 13, 44, 14, 5, 15, 12, 12, 12, 14, 22};
    // int a[] = {3, 33, 2, 13, 5, 12, 1002};
    for(auto &it : a){
        hst1.Insert({it,it});
    }

    hst1.Erase(22);
    hst1.Erase(11);

    hst1.Check();
}

int main()
{
    // cout<<"hello world"<<endl;

    HashiTableTest1();
    return 0;
}